Skip to content

Conversation

Aligadit1
Copy link

This PR addresses the union type error discussed in issue #1416 by properly distinguishing between ChatCompletionMessageFunctionToolCallParam and ChatCompletionMessageCustomToolCallParam when processing function call tool parameters. This fix prevents runtime errors and improves type safety in chat completions.

@seratch
Copy link
Member

seratch commented Aug 11, 2025

Thanks for sending this, but we'll resolve this by #1415

@seratch seratch added the duplicate This issue or pull request already exists label Aug 11, 2025
@seratch seratch closed this Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants